body{
    margin: 0;
    background:url("../img/bg2.jpg");
    background-size: 100% 100%;
    /*设置背景图片为固定*/
    background-attachment: fixed;
}
.text-center{
    text-align: center;
}

/*首页左侧*/
.main-left{
    margin-top: 100px;
    margin-bottom: 0;
    color: dimgray;
}
.reason{
    margin-top: 20px;
    font-size: 15px;
}
.reason span{
    color: teal;
    font-size: 18px;
}
.reg-button{
    margin-top: 18px;
    font-size: 18px;
    width: 100px;
    line-height: 40px;
    background-color: cadetblue;
    border-radius: 12%;
}
.reg-button a{
    color: #3c3c3c;
}

/*竖线*/
.line{
    border-left: 2px solid dimgray;
    height: 180px;
    position: relative;
    top: -180px;
    right: -500px;

}

/*首页登录界面*/
.right-login{
    position: relative;
    top: -400px;
    right: -300px;
}


/*下方显示图片的部分*/
.table{
    position: relative;
    bottom: 300px;
}
.table ul li{
    list-style: none;
    float: left;
    margin-left: 10px;
    box-shadow: 0 2px 5px grey;
}
.table ul li:hover{
    transform: scale(1.1);
}


/*footer样式设置*/
.footer{
clear: both;
color: dimgray;
}
.hr{
height: 5px;
background-color:#8FA5AB;
border: none;
margin: 0;
}
.left{
margin-top: 10px;
float: left;
}
.right {
    float: right;
    margin-top: 10px;
}

/*注册页面的样式设置*/
.regist{

    position: relative;
    left: -1500px;
    /*top: -400px;*/
    margin: 100px 0 100px 0;
}
.go{
    position: relative;
    left: 700px;
    top: -80px;
    font-size: 18px;
    border: solid 1px dimgrey;
    width: 150px;
    line-height: 30px;
    border-radius: 10px;
}

/*写日记页面*/
.time{
    line-height:30px;
    color: dimgrey;
    font-size: 18px;
}

/*个人设置*/
main{
    width: 80%;
    margin: 50px auto;
}
ul,li{
    margin: 0;
}
.tab li button{
    border: none;
    color: #000000;
    background-color: honeydew;
    width: 70px ;
}
.tab{
    background-color: honeydew;
    color: white;
    list-style: none;
    line-height: 40px;
    padding: 0;
}
.tab li{
    display: inline-block;
    padding: 0 20px;
}
.list{
    position: relative;
    height: 300px;
}
.list ul{
    position: absolute;
    display: none;
    margin: 30px 0;
}
.list ul.active{
     display: block;
 }
.tab li.on{
    border: solid 1px #b9def0;
}
main input{
    margin: 0;
    width: 300px;
    height: 35px;
}
main input[type=submit]{
    width: 110px;
}

/*相册页面*/
#photo{
    width: 90%;
    height: 800px;
    position: relative;
    left: 20px;
}
#photo div {
    width: 150px;
    height: 150px;
    background-size: cover;
    /*边框*/
    border: solid 5px white;
    border-bottom-width: 20px;
    /*设置过渡效果*/
    transition: transform 1s;
}

#photo div:hover {
    /*把transform 这种变换 设置成css中 最高的优先级*/
    transform: scale(1.5) !important;
    z-index: 100;
}

#photo div a {
    /*a标签默认是行内元素，行内元素没有宽高，只会根据自身标签中的内容作为它的宽高*/
    /*必须改为块级元素 才可以给他设置宽高 */
    display: block;
    width: 100%;
    height: 100%;
}

.content {
    position: relative;
    border: 1px solid #ffff00;
}
#aa{
    width: 50%;
}

/*头像*/
#picture{
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 10px;
}
/*事件与内容*/
#artic .times,#artic .article{
    position: relative;
    left: 70px;
    top: -50px;
    padding: 3px;

}

/*展示日历部分*/
#calendar{
    width: 97%;
    margin: 5px;
    height: 250px;
}

/*我的主页*/
.art{
    margin-bottom: 100px;
}
.artic span{
    font-size: 15px;
    color: dimgrey;
}
.head{
    clear: both;
    width: 100%;
    height: 3px;
    background-color: dimgrey;
    border: none;
}
.date ,.flower{
    font-size: 18px;
    padding-top: 20px;
    color: dimgrey;
}
.date{
    float: left;
}
.flower{
    float: right;
}


/*分页的样式*/
.paging li{
    float: left;
    list-style: none;
    padding: 5px;
    font-size: 18px;
}

.wuzhi div{
    margin-bottom: 40px;
}
.button{
   font-size: 20px;
    float: right;
    position: relative;
    top: -720px;
}



